﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="giftlist.aspx.cs" Inherits="giftlist" EnableViewState="false" %>
<!DOCTYPE html>
<html>
<head>
    <title>礼品列表</title>
</head>
<body>
    <div>
        <section data-role="page" id="giftlist_main">
            <header data-role="header" style="background:#09f;position:fixed;top:0px;width:100%;left:0px;z-index:999;border-color:#09f;">
                <h1>礼品列表</h1>
                <a href="#giftscard" class="gift_top_btn ui-btn-right" data-load="giftscard.aspx" style="float:right;background:#09f;border:0px;box-shadow:none;"><img src="images/car.png" /></a>
            </header>
            
            <div data-role="content" id="giftlist_content" style="margin-top:42px;">
                <div style="height:5px;"></div>
                <ul data-role="listview" data-filter="true">
                    <li style="text-align:center;display:none;" runat="server" id="msg">暂无礼品信息</li>
                    <asp:Repeater runat="server" ID="rptGiftlist">
                        <ItemTemplate>
                            <li>
                                <a href="#giftdetail" data-load="giftdetail.aspx?GiftID=<%#Eval("GiftID") %>" style=" line-height:28px;padding-left:118px;">
                                    <img src="<%#Eval("GiftPhoto") %>"  onerror="javascript:this.src='../images/Gift/nogift.jpg'"  style="margin-top:10px;margin-left:10px;border-radius:8px;"/>
                                    <h3 style="margin-top:0px;margin-bottom:30px;"><%#Eval("GiftName") %></h3>
                                    <p id="priceInfo" style="margin-bottom:0px;"><%#Eval("GiftExchangePoint") %>积分</p>
                                </a>
                            </li>
                        </ItemTemplate>
                    </asp:Repeater>
                </ul>
            </div>

            <footer data-role="footer" data-position="fixed" id="giftslist_footer">
                <div data-role="navbar" id="nav-glyphish-example">
                    <ul>
                        <li><a href="#index" id="site"><img src="images/business_site_btn.png" /><br/>商家网站</a></li>
                        <li><a href="#" onclick="openshoplist()"><img src="images/Goods_Book_btn.png" /><br/>商品购买</a></li>
                        <li><a href="#membershipcard" data-load="membershipcard.aspx" id="card"><img src="images/member_card_btn.png" /><br/>会员卡</a></li>
                        <li class="footer_active"><a href="#giftlist" data-load="giftlist.aspx" id="convert" class="ui-btn-active"><img src="images/04.png" /><br/>积分兑换</a></li>
                    </ul>
                </div>
            </footer>
        </section>
    </div>
</body>
</html>

